{% load i18n %}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<title>{{blog.title}}</title>
	
	<link rel="shortcut icon" href="/senbzblog/static/favicon.ico" />
	
	<link rel="stylesheet" href="/static/admin/css/base.css" type="text/css" media="screen"/>
	<link rel="stylesheet" href="/static/admin/css/style.css" type="text/css" media="screen"/>

	<script type="text/javascript" src="/static/js/base.js"></script>
	<script type="text/javascript" src="/static/js/comments.js"></script>
	<script type="text/javascript" src="/static/js/validator.js"></script>
	<script type="text/javascript" src="/static/js/operation.js"></script>
	
	<script type="text/javascript" src="/senbzblog/static/js/jquery-1.2.6.js"></script>
	<script type="text/javascript" src="/senbzblog/static/js/jquery.cookie.js"></script>
	<script type="text/javascript" src="/senbzblog/static/js/jquery.subMenu.js"></script>
	<script type="text/javascript">
		var Mysubmenu=null;
		$(function(){
			Mysubmenu=$("#logpress_menu").submenu({
				oneSmOnly:false,
				speed:300,
				expandNum:1,
				savestatus:false
			}).expandAll();
		})
	</script>
	{% block header %}{% endblock %}
</head>
<body>
<div style="height:100%;">
	<div id="header">
		<h1>
			<a href="{{ blog.get_absolute_url }}" title="查看站点" target="_blank">{{ blog.title }} <span>← 查看站点</span></a>
		</h1>
		<div id="header-info">
			<div id="user-info">
				<p>
					<a title="{% trans 'Modify user information' %}" 
						href="{{ blog.get_admin_profile_url }}">{{request.user.username}}</a> |
					<a title="{% trans 'Change password' %}" 
						href="{{ blog.get_admin_change_password_url }}">{% trans "Change password" %}</a> |
					<a title="{% trans 'Log out' %}" href="{% url user_logout %}">{% trans "Log out" %}</a>
				</p>
			</div>
		</div>
	</div>
	<div id="content">
		<div id="content-sidebar">
			{% include "admin/menu.html" %}
		</div>
		<div id="content-body">
			{% block content %}{% endblock %}
			<div class="clear"></div>
		</div>
		<div class="clear"></div>
	</div>
</div>
<!-- <div id="footer">
	<p id="footer-left" class="alignleft">
		<span id="footer-thankyou">
			<a href="http://www.iyouf.info/">Yang Wanjun</a> | Copyright 2011
		</span>
	</p>
</div> -->
</html>